package com.neutech.base;

import java.awt.Graphics;
import java.awt.Image;

import com.neutech.constant.Constant;

public class StartButton extends Sprite{

	public StartButton() {
	}
	
	public StartButton(Image image) {
		super(Constant.WINDOW_WIDTH/2-50,Constant.WINDOW_INNER_HEIGHT*2/3-50,
				image.getWidth(null), image.getHeight(null), 0, 0, image.getWidth(null), image.getHeight(null), image);
	}
	
	@Override
	public void draw(Graphics g) {
		g.drawImage(getImage(), getX(),getY(),null);
	}
}
